docs: document extension contracts and agent deploy flows (#172, #145)#173
Merged
liujuanjuan1984 merged 4 commits intomainfrom Mar 13, 2026
Merged
Conversation
Collaborator
Author
|
当前 Draft PR 已具备转入人工评审的条件,供后续人工执行
说明:根据仓库协作约束,Draft -> Ready for Review 仍应由人类手动执行。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
本 PR 当前包含两组文档收敛:
#172:补齐共享扩展契约的文档可发现性#145:发布面向消费方 agent 的自部署 / 释放 SOP,并明确deploy.sh与deploy_light.sh的适用边界本次变更仍然聚焦文档层,不引入运行时代码逻辑修改。
模块变更
README.mdExtension Capability Overview作为能力展示入口,集中说明 6 个 extension URI 的 shared/private 边界与主要用途docs/agent_deploy_sop.md的入口,便于从仓库首页直接定位部署 SOPdocs/guide.mdShared Session Binding Contract专章Shared Stream Hints Contract专章Shared Model Selection Contract中补充 capability URI,保持 shared contract 表达一致docs/agent_deploy_sop.mdopencode-a2a-serverdeploy.sh:systemd、多实例、生产导向deploy_light.sh:当前用户、轻量、本地/自托管导向ENABLE_SECRET_PERSISTENCE=false的安全默认两步流程,与ENABLE_SECRET_PERSISTENCE=true的显式落盘模式scripts/README.md.gitignorerun/,避免本地运行产物持续污染工作区相关 Commits
docs(guide): document shared extension capability contracts (#172)docs(readme): surface extension capability overview (#172)docs(sop): draft zh-cn agent self-deploy and release guide #145docs(sop): publish agent self-deploy and release SOP (#145)关联 Issues
验证
结果:
pre-commit通过pytest167 项通过,coverage 84.48%